﻿using IterationLife.Educations.Queries;
using IterationLife.Extensions.ControllerBase;
using IterationLife.PlatformBackEnd.AppServices.Contracts.Educations;
using IterationLife.PlatformBackEnd.AppServices.Dtos.Educations;

namespace IterationLife.PlatformBackEnd.WebSite.Areas.Educations.Controllers {
    /// <summary>
    /// 能力标准控制器
    /// </summary>
    public class AbilityStandardController : FormControllerBase<AbilityStandardDto, AbilityStandardQuery> {
        /// <summary>
        /// 初始化能力标准控制器
        /// </summary>
        /// <param name="service">能力标准服务</param>
        public AbilityStandardController( IAbilityStandardService service ) 
            : base( service ) {
            AbilityStandardService = service;
        }

        /// <summary>
        /// 能力标准服务
        /// </summary>
        public IAbilityStandardService AbilityStandardService { get; private set; }
    }
}